<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div {
            width: 0px;
            height: 30px;
            font-size: 10px;
            /* 强制一行显示 */
            white-space: nowrap;
            overflow: hidden;
            animation: w 4s 2s steps(15) forwards;
        }
        @keyframes w {
            0% {
                width: 0px;
            }
            100% {
                width: 200px;
            }
        }
    </style>
</head>
<body>
    <div>你说你是不是个小可爱</div>
</body>
</html>